/***********************************************
 This file is part of redia-library-app-ios.
 
 Copyright (c) 2012, 2013 Redia A/S
 
 Redia-library-app-ios is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 Redia-library-app-ios is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with redia-library-app-ios.  If not, see <http://www.gnu.org/licenses/>.
 
 *********************************************** */


#import <Foundation/Foundation.h>
#import "InfoEditor.h"
#import "InfoSource.h"


@interface InfoObject3 : NSObject {
	NSString *language;
	
	NSString *body;
	NSString *subHeadline;
	NSString *headline;
	NSString *infoObjectId;
	NSString *templateId;
	int duration;
	NSArray *multimedia; ///< Array of InfoMedia*
	NSArray *tags; ///< Array of NSString*
	NSString *category;
	NSArray *urls;
	InfoEditor *editor;
	InfoSource *source;
	NSDictionary *metaData;
	NSArray *geoLocations; ///< Array of InfoGeoLocation*
	NSArray *childInfoObjects; ///< Array of NSString*
	NSString *parentInfoObject;
	NSArray *channels; ///< Array of NSString* with channel name
    NSDictionary *channelIDs; // Dict of channelid -> channel name entries
	NSArray *comments;
	
	//for calendar elements
	NSDate *beginDate;
	NSDate *endDate;
	NSArray *locations;
    
    // For vote elements
    NSArray *voteOptions; // Array of InfoVoteOption objects.
}

@property(nonatomic, copy) NSString *language;
@property(nonatomic, copy) NSString *templateId;
@property(nonatomic, copy) NSString *infoObjectId;
@property(nonatomic, copy) NSString *headline;
@property(nonatomic, copy) NSString *subHeadline;
@property(nonatomic, copy) NSString *body;
@property(nonatomic) int duration;
@property(nonatomic, strong) NSArray *multimedia;
@property(nonatomic, strong) NSArray *tags;
@property(nonatomic, copy) NSString *category;
@property(nonatomic, strong) NSArray *urls;
@property(nonatomic, strong) InfoEditor *editor;
@property(nonatomic, strong) InfoSource *source;
@property(nonatomic, strong) NSDictionary *metaData;
@property(nonatomic, strong) NSArray *geoLocations;
@property(nonatomic, strong) NSArray *childInfoObjects;
@property(nonatomic, copy) NSString *parentInfoObject;
@property(nonatomic, strong) NSArray *channels;
@property(nonatomic, strong) NSDictionary *channelIDs;
@property(nonatomic, strong) NSArray *comments;

@property(nonatomic, copy) NSDate *beginDate;
@property(nonatomic, copy) NSDate *endDate;
@property(nonatomic, strong) NSArray *locations;

@property (nonatomic, strong) NSArray *voteOptions;

@end
